ArcFM Responder Mobile Developer Guide
AddRange<TK,TV>(Dictionary<TK,TV>,IEnumerable<KeyValuePair<TK,TV>>) Method






Add a set from one dictionary to another
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Overloads Shared Sub AddRange
    (Of TK,TV)( _
   ByVal dictionary As System.Collections.Generic.Dictionary(Of TK,TV), _
   ByVal dictionaryToAppend As System.Collections.Generic.IEnumerable(Of KeyValuePair(Of TK,TV)) _
) 
'Usage
 
Dim dictionary As System.Collections.Generic.Dictionary(Of TK,TV)
Dim dictionaryToAppend As System.Collections.Generic.IEnumerable(Of KeyValuePair(Of TK,TV))
 
EnumerableExtensions.AddRange(Of TK, TV)(dictionary, dictionaryToAppend)
[System.Runtime.CompilerServices.Extension()]
public static void AddRange<TK,TV>( 
   System.Collections.Generic.Dictionary<TK,TV> dictionary,
   System.Collections.Generic.IEnumerable<KeyValuePair<TK,TV>> dictionaryToAppend
)
public procedure AddRange( 
    dictionary: System.Collections.Generic.Dictionary;
    dictionaryToAppend: System.Collections.Generic.IEnumerable
); static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function AddRange( 
   dictionary : System.Collections.Generic.Dictionary,
   dictionaryToAppend : System.Collections.Generic.IEnumerable
);
[System.Runtime.CompilerServices.Extension()]
public: static void AddRange<TK,TV>( 
   System.Collections.Generic.Dictionary<TK*,TV*>* dictionary,
   System.Collections.Generic.IEnumerable<KeyValuePair<TK*,TV*>>* dictionaryToAppend
) 
[System.Runtime.CompilerServices.Extension()]
public:
static void AddRangegeneric<typename TK>
generic<typename TV>
( 
   System.Collections.Generic.Dictionary<TK^,TV^>^ dictionary,
   System.Collections.Generic.IEnumerable<KeyValuePair<TK^,TV^>>^ dictionaryToAppend
) 

Parameters

dictionary
dictionaryToAppend

Type Parameters

TK
TV
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members
Overload List

Send Feedback